package com.nine.dao;

import java.util.List;
import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.nine.entity.Category;

/**
 * A data access object (DAO) providing persistence and search support for
 * Category entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see com.nine.entity.Category
 * @author MyEclipse Persistence Tools
 */

public class CategoryDAO extends HibernateDaoSupport {
	List getAllCategory(){
		return null;}
	void addCategoryToDatabase(Category category){}
	void editCategoryToDatabase(Category category){}
	Category queryCategoryFromDatabase(int categoryId){
		return null;}
	void deleteCategoryFromDatabase(int categoryId){}
	
}